package com.hmdp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmdp.dto.Result;
import com.hmdp.entity.VoucherOrder;
import org.springframework.transaction.annotation.Transactional;

/**
 * @package: com.hmdp.service
 * @className: IVoucherOrderService
 * @author: 云溪
 * @description:
 * @date: 2025/9/10 19:37
 * @version: 1.0
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {


    Result seckillVoucher(Long voucherId);


    Result createVoucherOrder(Long userId, Long voucherId);


    void createVoucherOrder(VoucherOrder voucherOrder);
}
